//
//  GameViewController.swift
//  CWLiving
//
//  Created by 方正刚 on 2017/7/13.
//  Copyright © 2017年 方正刚. All rights reserved.
//

import UIKit

class GameViewController: BaseAnchorViewController {

    fileprivate lazy var amusementVM = AmusementViewModel()

}


// MARK: - 加载数据
extension GameViewController {
    
    override func loadData() {
        super.loadData()
        
        baseVM = amusementVM
        
        amusementVM.requestAmusementData {
            
            self.collectionView.reloadData()
            self.didLoadData()
        }
    }
}
